$editorTabsborderColor: #121315;
body, html{
  margin: 0;
  padding: 0;
  background: #fff;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji;
}

input, textarea{
  font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji;
}

.editor-tabs{
  background: $editorTabsborderColor;
  .el-tabs__header{
    margin: 0;
    border-bottom-color: $editorTabsborderColor;
    .el-tabs__nav{
      border-color: $editorTabsborderColor;
    }
  }
  .el-tabs__item{
    height: 32px;
    line-height: 32px;
    color: #888a8e;
    border-left: 1px solid $editorTabsborderColor!important;
    background: #363636;
    margin-right: 5px;
    user-select: none;
  }
  .el-tabs__item.is-active{
    background: #1e1e1e;
    border-bottom-color: #1e1e1e!important;
    color: #fff;
  }
  .el-icon-edit{
    color: #f1fa8c;
  }
  .el-icon-document{
    color: #a95812;
  }
  :focus.is-active.is-focus:not(:active) {
    box-shadow: none;
    border-radius: 0;
  }
}

// home
.right-scrollbar {
  .el-scrollbar__view {
    padding: 12px 18px 15px 15px;
  }
}
.el-scrollbar__wrap {
  box-sizing: border-box;
  overflow-x: hidden !important;
  margin-bottom: 0 !important;
}
.center-tabs{
  .el-tabs__header{
    margin-bottom: 0!important;
  }
  .el-tabs__item{
    width: 50%;
    text-align: center;
  }
  .el-tabs__nav{
    width: 100%;
  }
}
.reg-item{
  padding: 12px 6px;
  background: #f8f8f8;
  position: relative;
  border-radius: 4px;
  .close-btn{
    position: absolute;
    right: -6px;
    top: -6px;
    display: block;
    width: 16px;
    height: 16px;
    line-height: 16px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    color: #fff;
    text-align: center;
    z-index: 1;
    cursor: pointer;
    font-size: 12px;
    &:hover{
      background: rgba(210, 23, 23, 0.5)
    }
  }
  & + .reg-item{
    margin-top: 18px;
  }
}
.action-bar{
  & .el-button+.el-button {
    margin-left: 15px;
  }
  & i {
    font-size: 20px;
    vertical-align: middle;
    position: relative;
    top: -1px;
  }
}

.custom-tree-node{
  width: 100%;
  font-size: 14px;
  .node-operation{
    float: right;
  }
  i[class*="el-icon"] + i[class*="el-icon"]{
    margin-left: 6px;
  }
  .el-icon-plus{
    color: #409EFF;
  }
  .el-icon-delete{
    color: #157a0c;
  }
}

.el-scrollbar__view{
  // overflow-x: hidden;
}

.el-rate{
  display: inline-block;
  vertical-align: text-top;
}
.el-upload__tip{
  line-height: 1.2;
}

/*定义滚动条高宽及背景 高宽分别对应横竖滚动条的尺寸*/
::-webkit-scrollbar {
    width: 9px;
    height: 9px;
    background: none;
}

/*定义滚动条轨道 内阴影+圆角*/
::-webkit-scrollbar-track {
    border-radius: 0;
    background-color: transparent;
}

/*定义滑块 内阴影+圆角*/
::-webkit-scrollbar-thumb {
    border-radius: 6px;
    background-color: #c2c2c2;
    padding-top: 4px;
    border: 1px solid #c2c2c2;
    background-image: -webkit-gradient(
        linear,
        left bottom,
        left top,
        color-stop(0.44, #b4b4b4),
        color-stop(0.72, #b4b4b4),
        color-stop(0.86, #b4b4b4)
    );
}

::-webkit-scrollbar-thumb:hover {
    border-radius: 6px;
    -webkit-box-shadow: inset 0 0 5px hsla(0, 0%, 45%, 0.2);
    background: hsla(0, 0%, 45%, 0.8);
    border: 1px solid #8e8e8e;
}

::-webkit-scrollbar-track-piece {
  background: none;
}

.mul-dialog {
  background-color: #FFF;
  border-radius: 4px;
  padding-bottom: 10px;
  .el-dialog__header {
    padding: 15px 15px 10px;
    height: auto;
    line-height: 1;
    background-color: #FFF;
    box-shadow: none;
    .el-dialog__title {
      color: #303133;
      font-size: 18px;
    }
    .el-dialog__headerbtn {
      top: 20px;
      .el-icon-close {
        color: #909399;
      }
    }
  }
  .el-dialog__body {
    margin: 0;
    padding: 10px 15px;
    .el-input__suffix {
      height: auto;
      top: unset;
    }
    .el-alert {
      background-color: #FFF;
      .el-alert__description {
        margin: 0;
        color: #303133;
        font-size: 14px;
      }
    }
  }
  .el-dialog__footer {
    padding: 5px 15px 0;
    text-align: right;
    box-shadow: none;
  }
}

.box-card {
  .el-card__header {
    padding: 15px;
  }
  .el-card__body {
    padding: 0;
    .el-form-item__label {
      width: 100%;
    }
    .title-je {
      display: flex;
      margin: 0;
      .el-form-item__label {
        width: auto;
        padding: 8px 0;
      }
      .el-input {
        padding-top: 8px;
        .el-input__inner{
          padding-right: 15px;
        }
      }
    }
    .qtxx-textarea {
      .el-textarea__inner {
        resize: none;
      }
    }
    .qtwj-tree {
      .el-tree-node {
        display: inline-block;
        .el-tree-node__content {
          line-height: 1;
        }
      }
    }
  }
}
.bell-badge {
  .el-badge__content {
    border: 0;
  }
}